package com.itrip.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itrip.beans.pojo.HotelTempStore;
import com.itrip.beans.vo.StoreVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 实时库存表 服务类
 * </p>
 *
 * @author 周勉
 * @since 2020-02-28
 */
public interface HotelTempStoreService extends IService<HotelTempStore> {
    public List<StoreVO> queryRoomStore(Map<String,Object> param)throws Exception;
    /***
     * @param startTime 开始时间
     * @param endTime 结束时间
     * @param roomId 房间ID
     * @param hotelId 酒店ID
     * @param count 预订数目
     * @return
     * @throws Exception
     */
    public boolean validateRoomStore(Map<String,Object> param)throws Exception;
}
